<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;

class CreateGoodsfirstsTable extends Migration {

	/**
	 * Run the migrations.
	 *
	 * @return void
	 */
	public function up()
	{
		Schema::create('goodsfirsts', function(Blueprint $table)
		{
			$table->increments('id');
			$table->string('name')->nullable();
			$table->string('goodsCode')->nullable();
			$table->string('goodsType')->nullable();
			$table->string('goodsUnit')->nullable();
			$table->integer('change')->nullable();
			$table->integer('changeType')->nullable();
			$table->date('changeDate')->nullable();
			$table->string('storeroom')->nullable();
			$table->string('rack')->nullable();
			$table->string('rackNumber')->nullable();
			$table->string('goodsOther')->nullable();
			$table->string('goodsNotes')->nullable();
			$table->timestamps();
		});
	}


	/**
	 * Reverse the migrations.
	 *
	 * @return void
	 */
	public function down()
	{
		Schema::drop('goodsfirsts');
	}

}
